
const express = require('express');
const path = require('path');
const app = express();
 
const staticPath = path.join(__dirname, '../');
 
app.use(express.static(staticPath));

 
// 设置端口
const PORT = 3000;
 
// 启动服务器 http://localhost:3000/WEB-INF/pages/AI_patient_list.html
app.listen(PORT, () => {
  console.log(`当前服务启动端口地址http://localhost: ${PORT}`);
});